//
//  CTVMediaAsset.h
//  Channltv
//
//  Created by Bruno  Keymolen on 12/07/07.
//  Copyright 2007 channl.tv. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface CTVMediaAsset : BRBaseMediaAsset {
	NSString* m_description;
	NSString* m_title;
	CGImageRef m_coverArt;
	NSURL* m_mediaUrl;
	BOOL m_local;	
	long m_duration;
	BRMediaType* m_mediatype;
}

-(void)setDescription:(NSString*)description;
-(void)setTitle:(NSString*)title;
-(NSString*)description;
-(void)setCoverArt:(CGImageRef)image;
-(void)setMediaUrl:(NSURL*)url;
-(void)setLocal:(BOOL)local;
-(void)setDuration:(long)duration;
-(void)setMediaType:(BRMediaType*)mediatype;

/* override */
- (id)mediaDescription;
- (id)mediaSummary;
- (id)title;


- (id)provider;
- (id)assetID;
- (id)artist;
- (id)artistForSorting;
- (id)title;
- (id)titleForSorting;
- (id)mediaSummary;
- (id)mediaDescription;
- (id)copyright;
- (long)duration;
- (long)performanceCount;
- (id)cast;
- (id)directors;
- (id)mediaURL;
- (id)previewURL;
- (id)mediaUTI;
- (BOOL)hasCoverArt;
- (id)coverArtID;
- (id)thumbnailArtID;
- (CGImageRef)coverArt;
- (CGImageRef)thumbnailArt;
- (CGImageRef)coverArtForBookmarkTimeInMS:(unsigned int)fp8;



@end
